package com.ruoyi.dj.mapper;

import com.ruoyi.dj.domain.GlobalDensitySimulateParam;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface AtmDensityCalculationMapper {

    String getGlobalTatestTime(@Param("tableName") String tableName);

    void addGlobalHistData(GlobalDensitySimulateParam param);

    String getGlobalHistData(GlobalDensitySimulateParam param);

    List<Map<String, Object>> getSatelliteData(@Param("tableName")String tableName, @Param("startTime")String startTime, @Param("endTime")String endTime);

    List<Map<String, Object>> getSatelliteData1(@Param("tableName")String tableName, @Param("startTime")String startTime, @Param("endTime")String endTime);

    Map<String, Date> getTimeRange(@Param("tableName")String tableName);

    Map<String, Object> getProfileTimeRange();

    Map<String, Object> getAltRange(@Param("tableName")String tableName,@Param("startTime")String startTime, @Param("endTime")String endTime);
}
